import { axios } from '@/utils/request'

/**
 * 查询基础资料
 *
 * @author anti
 * @date 2021-04-07 19:24:48
 */
export function basicInformationPage (parameter) {
  return axios({
    url: '/basicInformation/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 基础资料列表
 *
 * @author anti
 * @date 2021-04-07 19:24:48
 */
export function basicInformationList (parameter) {
  return axios({
    url: '/basicInformation/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加基础资料
 *
 * @author anti
 * @date 2021-04-07 19:24:48
 */
export function basicInformationAdd (parameter) {
  return axios({
    url: '/basicInformation/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑基础资料
 *
 * @author anti
 * @date 2021-04-07 19:24:48
 */
export function basicInformationEdit (parameter) {
  return axios({
    url: '/basicInformation/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除基础资料
 *
 * @author anti
 * @date 2021-04-07 19:24:48
 */
export function basicInformationDelete (parameter) {
  return axios({
    url: '/basicInformation/delete',
    method: 'post',
    data: parameter
  })
}
